﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MaterPage/Site.Master" AutoEventWireup="true" CodeBehind="Propotype.aspx.cs" Inherits="Js_Study.Pages.Prototype.Propotype" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript">
        var a = function () {

        }

        a.prototype.Arr = ["1", "2", "3"];

        var aa = new a();
        aa.Arr.push("4");
        alert(aa.Arr.toString());

        var bb = new a();
        bb.Arr.push("5");
        alert(bb.Arr.toString());
    </script>
</asp:Content>
